package com.zyq.mapper;

import com.zyq.po.vo.AlbumStandardVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface AlbumMapper {
    @Select("select id,name,description,sort from pms_album where id=#{id}")
    AlbumStandardVO getStandardById(Long id);

    @Delete(" DELETE FROM pms_album WHERE id=${id}")
    int deleteById(Long id);
}
